package com.xm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 收货地址
 * @author 康文程
 * @date 2024-1-7 下午 01:20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Address {
    /**
     * 编号
     */
    private Integer addressId;
    /**
     * 名称
     */
    private String addressName;
    /**
     * 手机号
     */
    private String addressPhone;
    /**
     * 省
     */
    private String addressProvince;
    /**
     * 市
     */
    private String addressCity;
    /**
     * 区
     */
    private String addressDistrict;
    /**
     * 详细地址
     */
    private String fullAddress;
    /**
     * 标签
     */
    private String addressLabels;
    /**
     * 是否是选中地址
     */
    private Integer isSelectedAddress;
    /**
     * 所属用户
     */
    private Integer informationId;
    /**
     * 经度
     */
    private String longitude;
    /**
     * 纬度
     */
    private String latitude;

    public Address(Integer addressId, String addressName, String addressPhone, String addressProvince, String addressCity, String addressDistrict, String fullAddress, String addressLabels, Integer informationId, String longitude, String latitude) {
        this.addressId=addressId;
        this.addressName = addressName;
        this.addressPhone = addressPhone;
        this.addressProvince = addressProvince;
        this.addressCity = addressCity;
        this.addressDistrict = addressDistrict;
        this.fullAddress = fullAddress;
        this.addressLabels = addressLabels;
        this.informationId = informationId;
        this.longitude = longitude;
        this.latitude = latitude;
    }
}
